resource "google_resource_manager_lien" "<%= ctx[:primary_resource_id] %>" {
  parent       = "projects/${google_project.project.number}"
  restrictions = ["resourcemanager.projects.delete"]
  origin       = "machine-readable-explanation"
  reason       = "This project is an important environment"
}

resource "google_project" "project" {
  project_id = "<%= ctx[:vars]["project_id"] %>"
  name       = "A very important project!"
}
